package homework4.test;

public class SexThread extends Thread{
    @Override
    public void run() {
        for (int i=0;i<5;i++){
            System.out.println("第二个线程的第"+(i+1)+"运行");
            Thread.yield();
        }
    }
}
